package com.qqtech.qquan.ad.service;

import javax.annotation.Resource;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import com.qqtech.core.frame.dao.BaseDao;
import com.qqtech.core.frame.service.BaseServiceImpl;

import com.qqtech.qquan.ad.dao.AdSysParamDao;
import com.qqtech.qquan.ad.model.*;

@Service
public class AdSysParamServiceImpl extends BaseServiceImpl<AdSysParam>
		implements AdSysParamService {
	public static final Logger log = LoggerFactory.getLogger(AdSysParamServiceImpl.class);
	
	@Resource
	private AdSysParamDao adSysParamDao;

	@Override
	protected BaseDao<AdSysParam> getBaseDao() {
		return adSysParamDao;
	}
	
	@Override
	public AdSysParam getByKey(java.lang.String key) {
		return adSysParamDao.getByKey(key);
	}	
}